// The Swift Programming Language
// https://docs.swift.org/swift-book
import RouterService

extension RouterProtocol where Self == Router<FiveoSocketProtocol> {
    
    @discardableResult
    public static func makeDestination(config: ((FiveoSocketProtocol) -> Void)) -> FiveoSocketProtocol {
        let item = makeDestination()
        config(item)
        return item
    }
    
    @discardableResult
    public static func makeDestination() -> FiveoSocketProtocol {
        return FiveoSocket.share
    }
}
